<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1"/>
    <meta name="viewport"
          content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"/>
    <link rel="stylesheet" href="https://www.12371.cn/mydsjd/h5/css/style.css"/>
    <script src="https://res2.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
    <script src="https://www.12371.cn/mydsjd/h5/js/jquery-1.10.2.js"></script>
    <script src="https://www.12371.cn/mydsjd/h5/js/wxshare.js"></script>
    <title>党史天天学 | 知识竞答</title>
</head>
<body>
<script>
    var deviceWidth = document.documentElement.clientWidth;
    if (deviceWidth > 750) {
        document.documentElement.style.fontSize=deviceWidth/7.50+"px";
    } else {
        document.documentElement.style.fontSize = deviceWidth / 7.50 + "px";
    }
    if (typeof WeixinJSBridge == "object" && typeof WeixinJSBridge.invoke == "function") {
    handleFontSize();
    } else {
    if (document.addEventListener) {
    　　　　document.addEventListener("WeixinJSBridgeReady", handleFontSize, false);
    　　} else if (document.attachEvent) {
    　　　　document.attachEvent("WeixinJSBridgeReady", handleFontSize);
    　　　　document.attachEvent("onWeixinJSBridgeReady", handleFontSize);
    　　}
    }
    function handleFontSize() {
    　　// 设置网页字体为默认大小
    　　WeixinJSBridge.invoke('setFontSizeCallback', {'fontSize': 0});
    　　// 重写设置网页字体大小的事件
    　　WeixinJSBridge.on('menu:setfont', function () {
        WeixinJSBridge.invoke('setFontSizeCallback', {'fontSize': 0});
    });
    }
</script>
<div class="iphone">
    <div class="qxz">
        请选择
    </div>
    <div class="browser">
        <!--选择地区-->
        <section class="express-area">
            <form action="{{ route('profile.update') }}" id="profile" method="post">
                @csrf
                <input type="hidden" name="redirect_url" value="{{ session('redirect_url') }}">
                <a id="expressArea" href="javascript:void(0)">
                    <dl>
                        <dt>所 在 地</dt>
                        <dd><input type="text" id="in1" name="location" readonly="readonly" value="{{ $user->location }}" placeholder="请选择"></dd>
                    </dl>
                </a>
                <!-- <a id="expressArea1" href="javascript:void(0)">
                    <dl>
                        <dt>政治面貌</dt>
                        <dd><input type="text" id="in2" name="status" value="{{ $user->political_status }}" placeholder="请选择"></dd>
                    </dl>
                </a> -->
            </form>
        </section>
        <!--选择地区弹层-->
        <section id="areaLayer" class="express-area-box">
            <header>
                <h3>选择地区</h3>
                <!-- <a id="backUp" class="back" href="javascript:void(0)" title="返回"></a> -->
                <a id="closeArea" class="close" href="javascript:void(0)" title="关闭"></a>
            </header>
            <article id="areaBox">
                <ul id="areaList" class="area-list"></ul>
            </article>
        </section>
        <!--选择身份弹层-->
        <section id="areaLayer1" class="express-area-box">
            <header>
                <h3>选择身份</h3>
                <!-- <a id="backUp" class="back" href="javascript:void(0)" title="返回"></a> -->
                <a id="closeArea1" class="close" href="javascript:void(0)" title="关闭"></a>
            </header>
            <article id="areaBox1">
                <ul id="areaList1" class="area-list">1</ul>
            </article>
        </section>
        <!-- button -->
        <button id="but" onclick="document.getElementById('profile').submit();"></button>
        <script>
            // 兼容高度
            $('.iphone').css({
                'padding-top': ($(document).height() - $('.iphone').height()) / 2 - 20 + 'px',
                'padding-bottom': ($(document).height() - $('.iphone').height()) / 2 + 20 + 'px'
            })
        </script>
        <!--遮罩层-->
        <div id="areaMask" class="mask"></div>
        <script src="https://www.12371.cn/mydsjd/h5/js/jquery.area.js"></script>
    </div>
</div>

<style>
    .qxz {
        font: 0.6rem '微软雅黑';
        color: #fff;
        /* margin-left: 0.8rem; */
        text-align: center;
        font-weight: 800;
    }
</style>
<script>
getShare();

var pagecode="T-003-000-000";
with(document)with(body)with(insertBefore(createElement("script"),firstChild))setAttribute("exparams","v_id=&aplus&page_code="+pagecode,id="tb-beacon-aplus",src=(location>"https"?"//js":"//js")+".data.cctv.com/__aplus_plugin_cctv.js,aplus_plugin_aplus_u.js")
</script>
</body>
</html>
